# Maintainer: Jonathan Sieber <mail@strfry.org>
pkgname=toxic
pkgver=0.8.3
pkgrel=0
pkgdesc=" An ncurses-based Tox client"
url="https://github.com/JFreegman/toxic"
arch="all"
license="GPL-3.0-or-later"
options="!check"
subpackages="$pkgname-doc"
makedepends="toxcore-dev libconfig-dev ncurses-dev openal-soft-dev linux-headers
	libvpx-dev opus-dev libnotify-dev libqrencode-dev curl-dev libx11-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/JFreegman/$pkgname/archive/v$pkgver.tar.gz"

build() {
	make
}

package() {
	make PREFIX="$pkgdir"/usr install
}

sha512sums="c8d746efcc055592dd990dfa57415cc1eacaaa3b66303d7583d9f9e7e98b8829c8f1ae849f36a243c8896e99787dd2e493c92367de719b20a4a160bc7daea76e  toxic-0.8.3.tar.gz"
